import postTpl from './post.view.html'
import postCtrl from './post.controller'

export default ($stateProvider) => {
    "ngInject"
    $stateProvider
        .state('/', {
            url  : '/',
            views: {
                "post": {
                    templateUrl : postTpl,
                    controller  : postCtrl,
                    controllerAs: "vm"
                }
            }
        })
}